package com.ruoyi.exhibition.service;

import com.ruoyi.exhibition.domain.Exhibition;
import com.ruoyi.exhibition.domain.vo.ExhibitionVo;
import com.ruoyi.exhibition.domain.bo.ExhibitionBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 展项列Service接口
 *
 * @author ztx
 * @date 2023-03-11
 */
public interface IExhibitionService {

    /**
     * 查询展项列
     */
    ExhibitionVo queryById(Long id);

    /**
     * 查询展项列列表
     */
    TableDataInfo<ExhibitionVo> queryPageList(ExhibitionBo bo, PageQuery pageQuery);

    /**
     * 查询展项列列表
     */
    List<ExhibitionVo> queryList(ExhibitionBo bo);

    /**
     * 新增展项列
     */
    Boolean insertByBo(ExhibitionBo bo);

    /**
     * 修改展项列
     */
    Boolean updateByBo(ExhibitionBo bo);

    /**
     * 校验并批量删除展项列信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
